package com.rickie.model.entities;

import com.alibaba.cola.domain.Entity;
import com.rickie.model.valueobjects.TrackingEvent;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

/**
 * @author rickie
 * @version 1.0.0
 * @ClassName TrackingActivityEvent.java
 * @Description 跟踪活动事件
 * @createTime 2021年07月17日 18:52:00
 */
@Data
@Entity
public class TrackingActivityEvent {
    /**
     * 空活动
     */
    public static final TrackingActivityEvent EMPTY_ACTIVITY = new TrackingActivityEvent();

    /**
     * 记录货物所有操作事件
     */
    private List<TrackingEvent> trackingEvents = new ArrayList<>();
}

